YAYDP\Helper\YAYDP_Condition_Helper D

Total Complexity 136
Dependencies 2
Dependents 1
Total lines 707
Lines of code 431
Logical lines of code 298
Comment lines 221
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
check_conditions()
B
37 22 73
get_cart_items_match_product()
A
46 13 39
check_order_history_product()
A
45 12 44
check_shipping_region()
A
49 12 27
get_cart_items_match_tag()
A
47 11 35
get_cart_items_match_category()
A
47 11 35
check_order_history_category()
A
46 10 38
check_cart_subtotal_price()
A
52 8 22
check_orders_purchased_date()
S
51 7 27
check_payment_method()
S
58 7 13
check_cart_quantity()
S
56 6 18
check_customer_role()
S
62 2 11
check_cart_item_category()
S
68 2 7
check_cart_item_tag()
S
68 2 7
check_customer_order_count()
S
66 2 8
check_specific_customer()
S
68 2 6
check_logged_customer()
S
77 2 3
check_cart_item()
S
68 2 7
check_cart_total_weight()
S
74 1 4
check_combined_items()
S
81 1 3
check_shipping_total()
S
74 1 4